package com.itjdo.springboot_mail_system.mail;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MailController {
	@Autowired
    private MailService  mailService;
	
	@RequestMapping(value="sendmail")
	public void sendMail() {
		mailService.sengMail("测试测试","测试测试","312813783@qq.com");
	}
}
